package com.chinaoct.siku.controller;

import com.chinaoct.siku.util.ResponseMsg;

public class BaseController {

    protected ResponseMsg success(){
        return new ResponseMsg();
    }

    protected ResponseMsg success(Object content){
        return new ResponseMsg(content);
    }

    protected ResponseMsg error(String errorMsg){
        return ResponseMsg.error("-1",errorMsg);
    }
}
